/*
 *
 *  * | Licensed 未经许可不能去掉「OPENIITA」相关版权
 *  * +----------------------------------------------------------------------
 *  * | Author: xw2sy@163.com
 *  * +----------------------------------------------------------------------
 *
 *  Copyright [2024] [OPENIITA]
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * /
 */

package cc.iotkit.model.miniAdmin;

import cc.iotkit.model.Id;
import cc.iotkit.model.TenantModel;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;


@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeviceDistributor extends TenantModel implements Id<Long>, Serializable {
   /**
    * 角色ID
    */
   private Long id; // ID
   private String deviceId;
   private Long  distributorId;
   private Integer status;


   //@ApiModelProperty(value = "定位")
   private String location;

   // @ApiModelProperty(value = "地图文字")
   private String mapDesc;

   // @ApiModelProperty(value = "设备名称")
   private String deviceName;

   //@ApiModelProperty(value = "设备分组ID")
   private String deviceGroupId;


   //@ApiModelProperty(value = "地址")
   private String addr;


   // @ApiModelProperty(value = "设备状态")
   private Integer state;

   //@ApiModelProperty(value = "设备型号")
   private String model;

   //@ApiModelProperty(value = "设备型号")
   private Integer bindStatus;

   //@ApiModelProperty(value = "产品ID")
   private Long productId;
   /**
    */
   //@ApiModelProperty(value = "产地ID")
   private Long areaId;

  // @ApiModelProperty(value = "机器类型， 机柜")
   private String machineType;

   //@ApiModelProperty(value = "收件人")
   private String receiver;

  // @ApiModelProperty(value = "收件人电话")
   private String receiverPhone;

  // @ApiModelProperty(value = "收件人地址")
   private String receiverAddr;

   /**
    *
    */
   //@ApiModelProperty(value = "押金")
   private BigDecimal deposit;

  // @ApiModelProperty(value = "运营状态,1 -是，0-否")
   private int operationStatus;

  // @ApiModelProperty(value = "运营状态,1 -是，0-否")
   private int isReShip;

   //@ApiModelProperty(value = "自动退款,1 -是，0-否")
   private int isAutoRefund;

  // @ApiModelProperty(value = "安卓屏,1 -是，0-否")
   private int isAndroidScreen;

   //@ApiModelProperty(value = "主板风格：oldStyle1，oldStyle2，new")
   private String  boardStyle;

   //@ApiModelProperty(value = "运营应用：h5， miniApp（小程序）")
   private String  operateApp;


   //@ApiModelProperty(value = "是否开启购物车：1-是，0-否")
   private int  enableShopCart;
}
